package com.csust.automaticteach.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 题目生成
 * @TableName t_generate_question
 */
@TableName(value ="t_generate_question")
@Data
public class GenerateQuestion implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 题目
     */
    @TableField(value = "content")
    private String content;
    /**
     * 用户 答案
     */
    @TableField(value = "userAns")
    private String userAns;
    /**
     * 创建用户 id
     */
    @TableField(value = "userId")
    private Long userId;

    /**
     * 薄弱点
     */
    @TableField(value = "weakPoints")
    private String weakPoints;

    /**
     * 准确率
     */
    @TableField(value = "accuracyRate")
    private String accuracyRate;

    /**
     * 题目数量
     */
    @TableField(value = "count")
    private Integer count;

    /**
     * 题目类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 具体知识
     */
    @TableField(value = "topic")
    private String topic;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableField(value = "isDelete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}